const db = require('../db/index')

exports.getFolkloric = (req, res) =>{
    db.query(sqlStr, (err, results) => {
        if(err) throw err
        res.send(results)
    })
}
// 定义sql语句
const sqlStr = 'select * from sys_folkloric'